package com.wardrobe.mapper.slave.goods_model;

import com.wardrobe.domain.goods_model.GoodsModelBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2018/11/16.
 */
@Component("goodsModelSlaveMapper")
public interface GoodsModelSlaveMapper {

    GoodsModelBean selectGoodsModelById(long id);

    List<GoodsModelBean> selectGoodsModelByGoodsId(long goodsId);

    BigDecimal getGoodsByType(@Param("type") String type,@Param("goodsId") long goodsId);
}
